from django.db import models

# Create your models here.

class Book(models.Model):
    class Meta:
        db_table="book"

    id=models.AutoField(primary_key=True)
    name=models.CharField(max_length=20,null=False)
    price=models.DecimalField(max_digits=4,decimal_places=2)
    isbn_no=models.CharField(max_length=13)